mediaFoundationReaderDuration
Type
function
Summary
Get the duration of the media file. Platform:desktop
Syntax
mediaFoundationReaderDuration(<pFilePath>)
Description
The reader must already be created with mediaFoundationCreateReader. The value returned is in 100 nanosecond units.
*Note
*:See the mediaFoundationTranscode documentation for a complete example of using this handler.
Parameters
Name | Type | Description |
---|---|---|
pFilePath | string | The path to a media file |
Related
command: mediaFoundationTranscode, mediaFoundationCreateReader
Compatibility and Support
OS
windows